package com.mjl.shops.activity;


import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.Window;

import com.mjl.shops.R;
import com.mjl.shops.base.BaseActivity;
import com.mjl.shops.utils.CommUtils;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class AddressAddActivity extends BaseActivity {

    @Override
    protected void setContentViewBefore() {
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
    }

    @Override
    protected int getViews() {
        return R.layout.activity_address_add;
    }

    @Override
    protected void setViews() {
        ButterKnife.bind(this);
    }

    @Override
    protected void setDate() {

    }

    @Override
    protected String getStateColor() {
        return CommUtils.color_05000000;
    }

    @Override
    protected int getStetaBackgroundStyle() {
        return 1;
    }

    @OnClick({R.id.icon_back})
    public void OnClick(View view) {
        switch (view.getId()) {
            case R.id.icon_back:
                finish();
                break;
            default:
                break;
        }
    }

    public static void StartIntent(Context contexts) {
        Intent intent = new Intent(contexts, AddressAddActivity.class);
        contexts.startActivity(intent);
    }
}
